Skip to main content

ARDK for Android/com.nianticlabs.ardk/VpsGraphOperationError

VpsGraphOperationError

[androidJvm]
enum VpsGraphOperationError : Enum<VpsGraphOperationError> , ErrorCodeProvider

Error codes for VPS graph operations.

These errors can occur during VPS operations that query the internal graph structure, such as converting device poses to geolocations. Each error provides specific information about why the operation failed.

Entries​

NONE[androidJvm]
NONE
No error occurred - the operation completed successfully.
NOT_INITIALIZED[androidJvm]
NOT_INITIALIZED
The VPS system has not been initialized yet.
NOT_LOCALIZED[androidJvm]
NOT_LOCALIZED
The device has not successfully localized to a VPS location.
NO_TRANSFORM_TO_TRACKING_NODE[androidJvm]
NO_TRANSFORM_TO_TRACKING_NODE
No transform path exists between the requested node and the tracking node.
TARGET_NODE_NOT_FOUND[androidJvm]
TARGET_NODE_NOT_FOUND
The requested target node was not found in the VPS graph.
NO_GEOREFERENCE_DATA[androidJvm]
NO_GEOREFERENCE_DATA
The VPS location does not have GPS georeference data.
UNKNOWN_ERROR[androidJvm]
UNKNOWN_ERROR
An unknown error occurred during the operation.

Types​

NameSummary
Companion[androidJvm]
object Companion : ErrorFactory<VpsGraphOperationError>

Properties​

NameSummary
entries[androidJvm]
val entries: EnumEntries<VpsGraphOperationError>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
name[androidJvm]
val name: String
ordinal[androidJvm]
val ordinal: Int
value[androidJvm]
val value: Int

Functions​

NameSummary
valueOf[androidJvm]
fun valueOf(value: String): VpsGraphOperationError
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[androidJvm]
fun values(): Array<VpsGraphOperationError>
Returns an array containing the constants of this enum type, in the order they're declared.